package com.bestsoft.flow.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;

/**
 * 供应商流向(连锁)对象 flow_gyslx_ls
 * 
 * @author 崔健
 * @date 2023-08-31
 */
public class FlowGyslxLs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 企业名称 */
    private String entname;

    /** 供应商编号 */
    private String supplycode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplyname;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String billcode;

    /** 门店编号 */
    private String orgcode;

    /** 门店 */
    @Excel(name = "门店")
    private String orgname;

    /** 日期 */
    @Excel(name = "日期")
    private String dates;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodscode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsname;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String goodsspec;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String manufacturer;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 产地 */
    @Excel(name = "产地")
    private String place;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal num;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal amount;

    /** 商品批号 */
    @Excel(name = "商品批号")
    private String batchcode;

    /** 生产日期 */
    @Excel(name = "生产日期")
    private String producedate;

    /** 有效期至 */
    @Excel(name = "有效期至")
    private String valdate;

    /** 摘要 */
    @Excel(name = "摘要")
    private String summaries;
    /** 自动同步部门 */
    private Long dept_id;
    public Long getDept_id() {
        return dept_id;
    }

    public void setDept_id(Long dept_id) {
        this.dept_id = dept_id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEntname(String entname) 
    {
        this.entname = entname;
    }

    public String getEntname() 
    {
        return entname;
    }
    public void setSupplycode(String supplycode) 
    {
        this.supplycode = supplycode;
    }

    public String getSupplycode() 
    {
        return supplycode;
    }
    public void setSupplyname(String supplyname) 
    {
        this.supplyname = supplyname;
    }

    public String getSupplyname() 
    {
        return supplyname;
    }
    public void setBillcode(String billcode) 
    {
        this.billcode = billcode;
    }

    public String getBillcode() 
    {
        return billcode;
    }
    public void setOrgcode(String orgcode) 
    {
        this.orgcode = orgcode;
    }

    public String getOrgcode() 
    {
        return orgcode;
    }
    public void setOrgname(String orgname) 
    {
        this.orgname = orgname;
    }

    public String getOrgname() 
    {
        return orgname;
    }
    public void setDates(String dates) 
    {
        this.dates = dates;
    }

    public String getDates() 
    {
        return dates;
    }
    public void setGoodscode(String goodscode) 
    {
        this.goodscode = goodscode;
    }

    public String getGoodscode() 
    {
        return goodscode;
    }
    public void setGoodsname(String goodsname) 
    {
        this.goodsname = goodsname;
    }

    public String getGoodsname() 
    {
        return goodsname;
    }
    public void setGoodsspec(String goodsspec) 
    {
        this.goodsspec = goodsspec;
    }

    public String getGoodsspec() 
    {
        return goodsspec;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setNum(BigDecimal num) 
    {
        this.num = num;
    }

    public BigDecimal getNum() 
    {
        return num;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setBatchcode(String batchcode) 
    {
        this.batchcode = batchcode;
    }

    public String getBatchcode() 
    {
        return batchcode;
    }
    public void setProducedate(String producedate) 
    {
        this.producedate = producedate;
    }

    public String getProducedate() 
    {
        return producedate;
    }
    public void setValdate(String valdate) 
    {
        this.valdate = valdate;
    }

    public String getValdate() 
    {
        return valdate;
    }
    public void setSummaries(String summaries) 
    {
        this.summaries = summaries;
    }

    public String getSummaries() 
    {
        return summaries;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("entname", getEntname())
            .append("supplycode", getSupplycode())
            .append("supplyname", getSupplyname())
            .append("billcode", getBillcode())
            .append("orgcode", getOrgcode())
            .append("orgname", getOrgname())
            .append("dates", getDates())
            .append("goodscode", getGoodscode())
            .append("goodsname", getGoodsname())
            .append("goodsspec", getGoodsspec())
            .append("manufacturer", getManufacturer())
            .append("unit", getUnit())
            .append("place", getPlace())
            .append("num", getNum())
            .append("price", getPrice())
            .append("amount", getAmount())
            .append("batchcode", getBatchcode())
            .append("producedate", getProducedate())
            .append("valdate", getValdate())
            .append("summaries", getSummaries())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
                .append("dept_id", getDept_id())
            .toString();
    }
}
